import {
  useSelector as useReduxSelector,
  TypedUseSelectorHook,
} from "react-redux" // 连接store数据
import { RootState } from "./store"

export const useSelector: TypedUseSelectorHook<RootState> = useReduxSelector
